 |
API Documentation
|
|
|
Interface representing an allocator, supposed to allocate an object when requested.
Definition: Allocator.h:15
A utility default deallocator using a simple call to delete.
Definition: DefaultDeallocator.h:13
A utility default allocator allocating an object through a simple call to new.
Definition: DefaultAllocator.h:13
Interface used for deallocating memory.
Definition: Deallocator.h:13
PtrPool(Allocator< T > *allocator=new DefaultAllocator< T >(), Deallocator< T > *deallocator=new DefaultDeallocator< T >())
size_t getFreeItemsCount() const
void releaseObject(T *object)
size_t getPoolSize() const
size_t getFlyingItemsCount() const
A pool of objects, allocated in the heap and tracked by their pointers.
Definition: PtrPool.h:15
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7